<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@include file="header.jsp"%>
<div class="clearfix"></div>
<div class="row">
	<div class="col-md-12">
		<div class="x_panel">
			<div class="x_title">
				<h2>
					查询成绩 <i class="fa fa-user"></i>${student.name}
				</h2>
				<div class="clearfix"></div>
			</div>
			<div class="col-md-12 col-sm-12 col-xs-12">
				<div class="x_panel">
					<div class="x_content">
						<p class="text-muted font-13 m-b-30"></p>
						<div id="datatable-responsive_wrapper"
							 class="dataTables_wrapper form-inline dt-bootstrap no-footer">
							<div class="row">
								<div class="col-sm-12">
									<table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap dataTable no-footer dtr-inline collapsed"
										   cellspacing="0" width="100%" role="grid" aria-describedby="datatable-responsive_info" style="width: 100%;">
										<thead>
										<tr role="row">
											<th class="sorting_asc">学生ID</th>
											<th class="sorting">姓名</th>
											<th class="sorting">班主任ID</th>
											<th class="sorting">思想分</th>
											<th class="sorting">文化分</th>
											<th class="sorting">身心分</th>
											<th class="sorting">人文素质分</th>
											<th class="sorting">职业素质分</th>
											<th class="sorting">总分</th>
											<th class="sorting">排名</th>
										</tr>
										</thead>
										<tbody>
										<tr>
											<td>${grade.studentId}</td>
											<td>${grade.studentName}</td>
											<td>${student.teacherId}</td>
											<td>${grade.iq}</td>
											<td>${grade.cq}</td>
											<td>${grade.pmq}</td>
											<td>${grade.hq}</td>
											<td>${grade.pq}</td>
											<td>${grade.total}</td>
											<td>${grade.ranking}</td>
										</tr>
										</tbody>
									</table>
								</div>
								<div class="col-sm-12">
									<table class="table table-striped table-bordered dt-responsive nowrap dataTable no-footer dtr-inline collapsed"
										   cellspacing="0" width="100%" role="grid" aria-describedby="datatable-responsive_info" style="width: 100%;">
										<tr>
											<td>思想评语</td>
											<td>${grade.iqComment}</td>
										</tr>
										<tr>
											<td>文化评语</td>
											<td>${grade.cqComment}</td>
										</tr>
										<tr>
											<td>身心评语</td>
											<td>${grade.pmqComment}</td>
										</tr>
										<tr>
											<td>人文素质评语</td>
											<td>${grade.hqComment}</td>
										</tr>
										<tr>
											<td>职业素质分</td>
											<td>${grade.pqComment}</td>
										</tr>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
<%@include file="footer.jsp"%>
<script src="${pageContext.request.contextPath }/statics/localjs/rollpage.js"></script>
<script src="${pageContext.request.contextPath }/statics/localjs/applist.js"></script>
<script>
    function reset() {
        window.location.href=${pageContext.request.contextPath}'/dev/list';
    }
</script>